import {queryCurrencyPrecision, messages } from "share/common";
import React from "react";
import moment from 'moment'

const orderDetailType = {
  'BOOKED': messages('expense-16.key295')/*已预订*/,
  'TICKETED': messages('expense-16.key296')/*已出票*/,
  'REBOOKED': messages('expense-16.key297')/*已改签*/,
  'REFUNDED': messages('expense-16.key298')/*已退票*/,
  'CANCELED': messages('expense-16.key299')/*已取消*/,
  'CHECKOUT': messages('expense-16.key429')/*已离店*/,
  'OTHER': messages('common.other')/*其它*/
};

const formatData = (value) => {
  switch (value){
    case '000': return messages('expense-16.key300')/*未推送*/;
    case '101': return messages('expense-16.key51')/*待确认*/;
    case '102': return messages('expense-16.key51')/*待确认*/;
    case '201': return messages('expense-16.key55')/*已确认*/;
    case '202': return messages('expense-16.key301')/*自动确认*/;
    case '203': return messages('expense-16.key302')/*反馈异常*/;
    case '204': return messages('expense-16.key303')/*逾期未确认*/;
    case '205': return messages('expense-16.key304')/*对账员处理*/;
    default : return messages('expense-16.key305')/*状态错误*/;
      break;
  }
};

export default {
  columns: {
    'air': [
      { title: messages('expense-16.key306')/*分发状态*/, dataIndex: 'confirmStatus', width: 120, render: value => formatData(value) },
      { title: messages('expense-16.key90')/*订单号*/, dataIndex: 'orderNo', width: 100 },
      { title: messages('expense-16.key82')/*操作类型*/, dataIndex: 'orderType', width: 120 },
      { title: messages('expense-16.key8')/*消费商名称*/, dataIndex: 'vendorName', width: 130 },
      { title: messages('expense-16.key91')/*乘客姓名*/, dataIndex: 'airPassengerName', width: 120 },
      { title: messages('expense-16.key142')/*应付金额*/, dataIndex: 'amount', width: 120, render: (value, record) => React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currencyCode))},
      { title: messages('common.currency')/*币种*/, dataIndex: 'currencyCode', width: 80 },
      { title: messages('expense-16.key87')/*出发城市*/, dataIndex: 'airDepartAdd', width: 120 },
      { title: messages('expense-16.key88')/*到达城市*/, dataIndex: 'airArriveAdd', width: 120 },
      { title: messages('expense-16.key233')/*起飞时间*/, dataIndex: 'startDate', width: 120, render: startDate => new Date(startDate).format('yyyy-MM-dd') },
      { title: messages('expense-16.key236')/*航班号*/, dataIndex: 'airFlightNo', width: 100 },
      { title: messages('expense-16.key307')/*成本中心1*/, dataIndex: 'costCenter', width: 130 },
      { title: messages('expense-16.key308')/*成本中心2*/, dataIndex: 'costCenter2', width: 130 },
      { title: messages('expense-16.key309')/*成本中心3*/, dataIndex: 'costCenter3', width: 130 },
      { title: messages('expense-16.key310')/*成本中心4*/, dataIndex: 'costCenter4', width: 130 },
      { title: messages('expense-16.key311')/*成本中心5*/, dataIndex: 'costCenter5', width: 130 },
      { title: messages('expense-16.key312')/*成本中心6*/, dataIndex: 'costCenter6', width: 130 }
    ],
    'hotel': [
      { title: messages('expense-16.key306')/*分发状态*/, dataIndex: 'confirmStatus', width: 120, render: value => formatData(value) },
      { title: messages('expense-16.key90')/*订单号*/, dataIndex: 'orderNo', width: 100 },
      { title: messages('expense-16.key82')/*操作类型*/, dataIndex: 'orderType', width: 120 },
      { title: messages('expense-16.key8')/*消费商名称*/, dataIndex: 'vendorName', width: 130 },
      { title: messages('expense-16.key313')/*入住人姓名*/, dataIndex: 'hotelClientName', width: 130 },
      { title: messages('expense-16.key142')/*应付金额*/, dataIndex: 'amount', width: 120, render: (value, record) => React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currencyCode))},
      { title: messages('expense-16.key180')/*入住间夜数*/, dataIndex: 'hotelNight', width: 130 },
      { title: messages('common.currency')/*币种*/, dataIndex: 'currencyCode', width: 80 },
      { title: messages('expense-16.key96')/*入住城市*/, dataIndex: 'city', width: 120 },
      { title: messages('expense-16.key94')/*入住日期*/, dataIndex: 'hotelCheckInDate', width: 120 },
      { title: messages('expense-16.key95')/*离店日期*/, dataIndex: 'hotelCheckOutDate', width: 120 },
      { title: messages('expense-16.key187')/*酒店名称*/, dataIndex: 'hotelName', width: 120 },
      { title: messages('expense-16.key307')/*成本中心1*/, dataIndex: 'costCenter', width: 130 },
      { title: messages('expense-16.key308')/*成本中心2*/, dataIndex: 'costCenter2', width: 130 },
      { title: messages('expense-16.key309')/*成本中心3*/, dataIndex: 'costCenter3', width: 130 },
      { title: messages('expense-16.key310')/*成本中心4*/, dataIndex: 'costCenter4', width: 130 },
      { title: messages('expense-16.key311')/*成本中心5*/, dataIndex: 'costCenter5', width: 130 },
      { title: messages('expense-16.key312')/*成本中心6*/, dataIndex: 'costCenter6', width: 130 }
    ],
    'train': [
      { title: messages('expense-16.key306')/*分发状态*/, dataIndex: 'confirmStatus', width: 120, render: value => formatData(value) },
      { title: messages('expense-16.key90')/*订单号*/, dataIndex: 'orderNo', width: 100 },
      { title: messages('expense-16.key8')/*消费商名称*/, dataIndex: 'vendorName', width: 130 },
      { title: messages('expense-16.key82')/*操作类型*/, dataIndex: 'orderType', width: 120 },
      { title: messages('expense-16.key142')/*应付金额*/, dataIndex: 'amount', width: 120, render: (value, record) => React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currencyCode))},
      { title: messages('common.currency')/*币种*/, dataIndex: 'currencyCode', width: 80 },
      { title: messages('expense-16.key87')/*出发城市*/, dataIndex: 'trainDepartAdd', width: 120 },
      { title: messages('expense-16.key88')/*到达城市*/, dataIndex: 'trainArriveAdd', width: 120 },
      { title: messages('expense-16.key98')/*出发日期*/, dataIndex: 'startDate', width: 120,
        render: value => moment(value).format('YYYY-MM-DD HH:mm:ss')
      },
      { title: messages('expense-16.key430')/*列车号*/, dataIndex: 'trainName', width: 120 },
      { title: messages('expense-16.key91')/*乘客姓名*/, dataIndex: 'trainPassengerName', width: 120 },
      { title: messages('expense-16.key307')/*成本中心1*/, dataIndex: 'costCenter', width: 130 },
      { title: messages('expense-16.key308')/*成本中心2*/, dataIndex: 'costCenter2', width: 130 },
      { title: messages('expense-16.key309')/*成本中心3*/, dataIndex: 'costCenter3', width: 130 },
      { title: messages('expense-16.key310')/*成本中心4*/, dataIndex: 'costCenter4', width: 130 },
      { title: messages('expense-16.key311')/*成本中心5*/, dataIndex: 'costCenter5', width: 130 },
      { title: messages('expense-16.key312')/*成本中心6*/, dataIndex: 'costCenter6', width: 130 }
    ],
    'car': [
      { title: messages('expense-16.key306')/*分发状态*/, dataIndex: 'confirmStatus', width: 120, render: value => formatData(value) },
      { title: messages('expense-16.key90')/*订单号*/, dataIndex: 'orderNo', width: 100 },
      { title: messages('expense-16.key8')/*消费商名称*/, dataIndex: 'vendorName', width: 130 },
      { title: messages('expense-16.key91')/*乘客姓名*/, dataIndex: 'carPassengerName', width: 120 },
      { title: messages('common.total.amount')/*总金额*/, dataIndex: 'amount', width: 100, render: (value, record) => React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currencyCode))},
      { title: messages('expense-16.key139')/*总里程*/, dataIndex: 'normalDistance', width: 100 },
      { title: messages('common.currency')/*币种*/, dataIndex: 'currencyCode', width: 80 },
      { title: messages('expense-16.key137')/*出发地*/, dataIndex: 'carDepartAdd', width: 100 },
      { title: messages('expense-16.key138')/*到达地*/, dataIndex: 'carArriveAdd', width: 100 },
      { title: messages('expense-16.key141')/*出发时间*/, dataIndex: 'departureTim', width: 120 },
      { title: messages('expense-16.key140')/*车型*/, dataIndex: 'requireLevel', width: 80 }
    ],
    'dining': [
      { title: messages('expense-16.key306')/*分发状态*/, dataIndex: 'confirmStatus', width: 120, render: value => formatData(value) },
      { title: messages('expense-16.key90')/*订单号*/, dataIndex: 'orderNo', width: 100 },
      { title: messages('expense-16.key8')/*消费商名称*/, dataIndex: 'vendorName', width: 130 },
      { title: messages('expense-16.key202')/*支付金额*/, dataIndex: 'amount', width: 120, render: (value, record) => React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currencyCode))},
      { title: messages('expense-16.key205')/*收货人电话*/, dataIndex: 'addressPhone', width: 130 },
      { title: messages('expense-16.key201')/*业务类型*/, dataIndex: 'diningType', width: 130 },
      { title: messages('expense-16.key211')/*餐厅名称*/, dataIndex: 'restaurantName', width: 130 },
      { title: messages('expense-16.key212')/*下单时间*/, dataIndex: 'startDate', width: 130,
        render: value => value ? moment(value).format('YYYY-MM-DD HH:mm:ss') : '-'},
      { title: messages('expense-16.key213')/*计划配送时间*/, dataIndex: 'receivePlanTime', width: 130,
        render: value => value ? moment(value).format('YYYY-MM-DD HH:mm:ss') : '-'},
    ]
  },
  details: {
    'air': {
      baseInfo: [
        { label: messages('expense-16.key82')/*操作类型*/, dataIndex: 'orderDetailType', render: value => orderDetailType[value]},
        { label: messages('common.total.amount')/*总金额*/, dataIndex: 'amount', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
        { label: messages('expense-16.key414')/*个人承担金额*/, dataIndex: 'employeeBearAmount', render: (value, record) => record.amount >= 0 ? record.currency + ' ' + React.Component.prototype.filterMoney(value || 0, queryCurrencyPrecision(record.currency), true) : '-'}
      ],
      consumption: [
        { label: messages('expense-16.key87')/*出发城市*/, dataIndex: 'dcityName' },
        { label: messages('expense-16.key88')/*到达城市*/, dataIndex: 'acityName' },
        { label: messages('expense-16.key233')/*起飞时间*/, dataIndex: 'takeOffTime' },
        { label: messages('expense-16.key235')/*航司名称*/, dataIndex: 'airlineName'},
        { label: messages('expense-16.key236')/*航班号*/, dataIndex: 'flightNo'},
        { label: messages('expense-16.key314')/*航位*/, dataIndex: 'cabinName'},
        { label: messages('expense-16.key91')/*乘客姓名*/, dataIndex: 'passengerName'},
        { label: messages('expense-16.key217')/*乘客工号*/, dataIndex: 'employeeID'}
      ],
      costCenter: [
        { label: messages('expense-16.key307')/*成本中心1*/, dataIndex: 'costCenter' },
        { label: messages('expense-16.key308')/*成本中心2*/, dataIndex: 'costCenter2' },
        { label: messages('expense-16.key309')/*成本中心3*/, dataIndex: 'costCenter3' },
        { label: messages('expense-16.key310')/*成本中心4*/, dataIndex: 'costCenter4' },
        { label: messages('expense-16.key311')/*成本中心5*/, dataIndex: 'costCenter5' },
        { label: messages('expense-16.key312')/*成本中心6*/, dataIndex: 'costCenter6' }
      ],
      order: [
        { label: messages('expense-16.key90')/*订单号*/, dataIndex: 'orderId' },
        { label: messages('expense-16.key75')/*消费商*/, dataIndex: 'vendor' },
        { label: messages('expense-16.key315')/*预订人*/, dataIndex: 'bookerName' },
        { label: messages('expense-16.key316')/*申请单*/, dataIndex: 'applicationName', render: (value, record) => `${value || ''} ${record.businessCode || ''}` },
        { label: messages('expense-16.key317')/*申请单部门*/, dataIndex: 'applicationDepartmentName' }
      ]
    },
    'hotel': {
      baseInfo: [
        { label: messages('expense-16.key82')/*操作类型*/, dataIndex: 'orderDetailType', render: value => orderDetailType[value]},
        { label: messages('common.total.amount')/*总金额*/, dataIndex: 'totalAmount', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
        { label: messages('expense-16.key414')/*个人承担金额*/, dataIndex: 'employeeBearAmount', render: (value, record) => (record.totalAmount || 0) >= 0 ? record.currency + ' ' + React.Component.prototype.filterMoney(value || 0, queryCurrencyPrecision(record.currency), true) : '-'}
      ],
      consumption: [
        { label: messages('expense-16.key94')/*入住日期*/, dataIndex: 'startTime', render: startDate => startDate && new Date(startDate).format('yyyy-MM-dd') },
        { label: messages('expense-16.key95')/*离店日期*/, dataIndex: 'endTime', render: endTime => endTime && new Date(endTime).format('yyyy-MM-dd') },
        { label: messages('expense-16.key318')/*入住夜数*/, dataIndex: 'hotelNight' },
        { label: messages('expense-16.key180')/*入住间夜数*/, dataIndex: 'roomNight'},
        { label: messages('expense-16.key188')/*酒店星级*/, dataIndex: 'star'},
        { label: messages('expense-16.key136')/*城市*/, dataIndex: 'cityName'},
        { label: messages('expense-16.key178')/*入住人*/, dataIndex: 'clientNames'}
      ],
      costCenter: [
        { label: messages('expense-16.key307')/*成本中心1*/, dataIndex: 'costCenter' },
        { label: messages('expense-16.key308')/*成本中心2*/, dataIndex: 'costCenter2' },
        { label: messages('expense-16.key309')/*成本中心3*/, dataIndex: 'costCenter3' },
        { label: messages('expense-16.key310')/*成本中心4*/, dataIndex: 'costCenter4' },
        { label: messages('expense-16.key311')/*成本中心5*/, dataIndex: 'costCenter5' },
        { label: messages('expense-16.key312')/*成本中心6*/, dataIndex: 'costCenter6' }
      ],
      order: [
        { label: messages('expense-16.key90')/*订单号*/, dataIndex: 'orderId' },
        { label: messages('expense-16.key75')/*消费商*/, dataIndex: 'vendor' },
        { label: messages('expense-16.key315')/*预订人*/, dataIndex: 'bookerName' },
        { label: messages('expense-16.key316')/*申请单*/, dataIndex: 'applicationName', render: (value, record) => `${value || ''} ${record.businessCode || ''}` },
        { label: messages('expense-16.key317')/*申请单部门*/, dataIndex: 'applicationDepartmentName' }
      ]
    },
    'train': {
      baseInfo: [
        { label: messages('expense-16.key82')/*操作类型*/, dataIndex: 'detailType', render: value => orderDetailType[value]},
        { label: messages('expense-16.key142')/*应付金额*/, dataIndex: 'amount', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
        { label: messages('expense-16.key414')/*个人承担金额*/, dataIndex: 'employeeBearAmount', render: (value, record) => (record.amount || 0) >= 0 ? record.currency + ' ' + React.Component.prototype.filterMoney(value || 0, queryCurrencyPrecision(record.currency), true) : '-'}
      ],
      consumption: [
        { label: messages('expense-16.key87')/*出发城市*/, dataIndex: 'departureCityName' },
        { label: messages('expense-16.key88')/*到达城市*/, dataIndex: 'arrivalCityName' },
        { label: messages('expense-16.key98')/*出发日期*/, dataIndex: 'departureDateTime', render: value => value ? moment(value).format('YYYY-MM-DD HH:mm:ss') : '-' },
        { label: messages('expense-16.key430')/*列车号*/, dataIndex: 'trainName'},
        { label: messages('expense-16.key431')/*乘车人*/, dataIndex: 'passengerName', render: (value, record) => (value || '') + ' ' + (record.employeeId || '')},
      ],
      costCenter: [
        { label: messages('expense-16.key307')/*成本中心1*/, dataIndex: 'costCenter' },
        { label: messages('expense-16.key308')/*成本中心2*/, dataIndex: 'costCenter2' },
        { label: messages('expense-16.key309')/*成本中心3*/, dataIndex: 'costCenter3' },
        { label: messages('expense-16.key310')/*成本中心4*/, dataIndex: 'costCenter4' },
        { label: messages('expense-16.key311')/*成本中心5*/, dataIndex: 'costCenter5' },
        { label: messages('expense-16.key312')/*成本中心6*/, dataIndex: 'costCenter6' }
      ],
      order: [
        { label: messages('expense-16.key90')/*订单号*/, dataIndex: 'orderId' },
        { label: messages('expense-16.key75')/*消费商*/, dataIndex: 'vendor' },
        { label: messages('expense-16.key315')/*预订人*/, dataIndex: 'bookerName' },
        { label: messages('expense-16.key316')/*申请单*/, dataIndex: 'applicationName', render: (value, record) => `${value || ''} ${record.businessCode || ''}` },
        { label: messages('expense-16.key317')/*申请单部门*/, dataIndex: 'applicationDepartmentName' }
      ]
    },
    'car': {
      baseInfo: [
        { label: messages('common.total.amount')/*总金额*/, dataIndex: 'amount', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
        { label: messages('expense-16.key414')/*个人承担金额*/, dataIndex: 'employeeBearAmount', render: (value, record) => (record.amount || 0) >= 0 ? record.currency + ' ' + React.Component.prototype.filterMoney(value || 0, queryCurrencyPrecision(record.currency), true) : '-'}
      ],
      consumption: [
        { label: messages('expense-16.key139')/*总里程*/, dataIndex: 'normalDistance', render: value => value + 'KM'},
        { label: messages('expense-16.key137')/*出发地*/, dataIndex: 'startName' },
        { label: messages('expense-16.key138')/*到达地*/, dataIndex: 'endName' },
        { label: messages('expense-16.key141')/*出发时间*/, dataIndex: 'departureTime', render: startDate => startDate && new Date(startDate).format('yyyy-MM-dd hh:mm:ss') },
        { label: messages('expense-16.key319')/*支付时间*/, dataIndex: 'payTime', render: startDate => startDate && new Date(startDate).format('yyyy-MM-dd') },
        { label: messages('expense-16.key136')/*城市*/, dataIndex: 'city'},
        { label: messages('expense-16.key140')/*车型*/, dataIndex: 'requireLevel'},
        { label: messages('expense-16.key320')/*乘客*/, dataIndex: 'passengerName'},
        { label: messages('expense-16.key321')/*乘客手机*/, dataIndex: 'passengerPhone'}
      ],
      costCenter: [
        { label: messages('expense-16.key307')/*成本中心1*/, dataIndex: 'costCenter' },
        { label: messages('expense-16.key308')/*成本中心2*/, dataIndex: 'costCenter2' },
        { label: messages('expense-16.key309')/*成本中心3*/, dataIndex: 'costCenter3' },
        { label: messages('expense-16.key310')/*成本中心4*/, dataIndex: 'costCenter4' },
        { label: messages('expense-16.key311')/*成本中心5*/, dataIndex: 'costCenter5' },
        { label: messages('expense-16.key312')/*成本中心6*/, dataIndex: 'costCenter6' }
      ],
      order: [
        { label: messages('expense-16.key90')/*订单号*/, dataIndex: 'orderId' },
        { label: messages('expense-16.key75')/*消费商*/, dataIndex: 'vendor' },
        { label: messages('expense-16.key315')/*预订人*/, dataIndex: 'bookerName' },
        { label: messages('expense-16.key316')/*申请单*/, dataIndex: 'applicationName', render: (value, record) => `${value || ''} ${record.businessCode || ''}` },
        { label: messages('expense-16.key317')/*申请单部门*/, dataIndex: 'applicationDepartmentName' }
      ]
    },
    'dining': {
      baseInfo: [
        { label: messages('expense-16.key202')/*支付金额*/, dataIndex: 'amount', render: (value, record) => React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
        { label: messages('expense-16.key414')/*个人承担金额*/, dataIndex: 'employeeBearAmount', render: (value, record) => (record.amount || 0) >= 0 ? React.Component.prototype.filterMoney(value || 0, queryCurrencyPrecision(record.currency), true) : '-'}
      ],
      consumption: [
        { label: messages('expense-16.key205')/*收货人电话*/, dataIndex: 'addressPhone' },
        { label: messages('expense-16.key206')/*收货人地址*/, dataIndex: 'addressAddress' },
        { label: messages('expense-16.key201')/*业务类型*/, dataIndex: 'diningType' },
        { label: messages('expense-16.key211')/*餐厅名称*/, dataIndex: 'restaurantName' },
        { label: messages('expense-16.key212')/*下单时间*/, dataIndex: 'orderCreateTime',
          render: value => value ? moment(value).format('YYYY-MM-DD HH:mm:ss') : '-'},
        { label: messages('expense-16.key213')/*计划配送时间*/, dataIndex: 'receivePlanTime',
          render: value => value ? moment(value).format('YYYY-MM-DD HH:mm:ss') : '-'},
      ],
      order: [
        { label: messages('expense-16.key90')/*订单号*/, dataIndex: 'orderId' },
        { label: messages('expense-16.key75')/*消费商*/, dataIndex: 'vendor' },
        { label: messages('expense-16.key315')/*预订人*/, dataIndex: 'bookerName' },
        { label: messages('expense-16.key316')/*申请单*/, dataIndex: 'applicationName', render: (value, record) => `${value || ''} ${record.businessCode || ''}` },
        { label: messages('expense-16.key317')/*申请单部门*/, dataIndex: 'applicationDepartmentName' }
      ]
    },
  },
  amountDetails: {
    'air': [
      { label: messages('expense-16.key219')/*票面价*/, dataIndex: 'price', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key183')/*服务费*/, dataIndex: 'serviceFee', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key220')/*民航基金*/, dataIndex: 'tax', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key221')/*燃油费*/, dataIndex: 'oilFee', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key222')/*保险费*/, dataIndex: 'insuranceFee', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key223')/*机票配送费*/, dataIndex: 'sendTicketFee', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key224')/*配送服务费*/, dataIndex: 'itineraryFee', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key225')/*改签费*/, dataIndex: 'rebookQueryFee', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key228')/*改签服务费*/, dataIndex: 'reBookingServiceFee', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key229')/*退票费*/, dataIndex: 'refund', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key230')/*退票服务费*/, dataIndex: 'refundServiceFee', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key228')/*改签服务费*/, dataIndex: 'reBookingServiceFee', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
    ],
    'hotel': [
      { label: messages('expense-16.key183')/*服务费*/, dataIndex: 'serviceFee', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key184')/*手续费*/, dataIndex: 'extraCharge', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
    ],
    'train': [
      { label: messages('expense-16.key219')/*票面价*/, dataIndex: 'price', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key183')/*服务费*/, dataIndex: 'serverFee', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key229')/*退票费*/, dataIndex: 'cancelFee', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key225')/*改签费*/, dataIndex: 'rebookFee', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key222')/*保险费*/, dataIndex: 'insureFee', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key432')/*纸质出票费*/, dataIndex: 'paperTicketFee', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key433')/*快递费*/, dataIndex: 'deliverFee', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key231')/*后收服务费*/, dataIndex: 'postServiceFee', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
    ],
    'car': [
      { label: messages('expense-16.key143')/*公司支付金额*/, dataIndex: 'companyRealPay', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key144')/*个人支付金额*/, dataIndex: 'personalRealPay', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
    ],
    'dining': [
      { label: messages('expense-16.key143')/*公司支付金额*/, dataIndex: 'entFee', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key144')/*个人支付金额*/, dataIndex: 'personalFee', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
      { label: messages('expense-16.key183')/*服务费*/, dataIndex: 'serviceFee', render: (value, record) => record.currency + ' ' + React.Component.prototype.filterMoney(value, queryCurrencyPrecision(record.currency), true)},
    ]
  }
}
